package rest.jbpm.svg;

/**
 * Created by IntelliJ IDEA.
 * User: xEviL
 * Date: 26.10.11
 * Time: 15:06
 * To change this template use File | Settings | File Templates.
 */
class JbpmStartElement extends JbpmCircleElement{
    public JbpmStartElement(String _name, Integer _x, Integer _y, Integer _w, Integer _h){
        super(_name,_x,_y,_w,_h);
    }
    public String draw(){
        return super.draw()+"<circle cx=\""+(x+w/2)+"\" cy=\""+(y+w/2)+"\" r=\""+(r*0.6)+"\"" +
       "  style=\"fill:green;stroke:black;stroke-width:2;fill-opacity:1;\n" +
       "  stroke-opacity:0\"/>\n";
    }
}
